package com.fifth.apartment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//体检套餐
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("setmeal")
public class Setmeal implements Serializable {
    //套餐ID
    @TableId(type = IdType.AUTO)
    private Integer id;
    //套餐名称
    @TableField("name")
    private String name;

    @TableField("attention")
    private String attention;
    //套餐图片存储路径
    @TableField("img")
    private String img;

    //体检套餐对应的检查组，多对多关系
    /*@TableField(exist = false)
    private List<Checkgroup> checkgroups;*/

}